

******************************************************************************
* Run all the do files to generate the data
******************************************************************************

*REQUIRED: NEED TO GET A FRED KEY BEFORE RUNNING THE DATA CODE
	//https://fred.stlouisfed.org/docs/api/api_key.html
set fredkey XXXXXXXXXXXXXX, permanently

*Changes the directory to the directy in which the code cleaning do files are located
cd "code_data"

***** FOMC meeting information
do "dofile_fomc_dates"

***** Treasurys & TIPS from Fed website
do "dofile_gsw_treasurys.do"
do "dofile_gsw_tips.do"

***** Bloomberg data 
	//On-the-run Treasury & TIPS yields
	//Inflation swaps
	//S&P 500 price and returns
	//Commodity indices
do "dofile_bloomberg.do"

***** Dot plots
do "dofile_dotplot.do"

**** Kuttner monetary policy shock
do "dofile_kuttner_shocks.do"

***** VIX 
do "dofile_vix.do"
	
**** FRED 
	//NBER recession indicator
	//Treasury slope
	//Chicago Fed National Activity Index
	//Brave-Butters-Kelley leading index
	//SEP long-run inflation forecasts
do "dofile_fred.do"	
	
***** Nonfarm payrolls 
do "dofile_nonfarm_payrolls.do"	

*Change the directory back to the base directory 
	//Comment: Otherwise cannot run merge data
cd ".."






